interface Info {
  username: string;
  password: string;
}
/**
 * @apiDefine myInfo
 * @apiParam {String} username 用户名.
 * @apiParam {String} password 密码.
 */
export class InfoModel {
  public username: string;
  public password: string;
  constructor(info: Info) {
    this.username = info.username;
    this.password = info.password;
  }
}
